<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
    
    <h:body>
        <ui:composition template="templateGeneral.xhtml">
            <ui:define name="title">Projekti</ui:define>
            <ui:define name="center">
                
                <ui:repeat value="#{projekat.projekti}" var="proj">
                    
                    <p:accordionPanel multiple="true" style="margin: 30px; max-width: 1020px">
                      <p:tab title="#{proj.naziv}" >
                         
                          <h:outputText value="#{proj.opis}"/>
                     
                      </p:tab>
                    </p:accordionPanel>
                    
                </ui:repeat>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

